]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
introspection: Fix annotations
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 15 Sep 2010 00:56:34 +0000 (02:56 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 15 Sep 2010 01:02:26 +0000 (03:02 +0200)
The scanner got more strict, now some annotations need fixing.

13 files changed:
src/gdmuser/gdm-user-manager.h
src/shell-app-system.c
src/shell-app-usage.h
src/shell-doc-system.c
src/shell-doc-system.h
src/shell-generic-container.c
src/shell-generic-container.h
src/st/st-border-image.c
src/st/st-overflow-box.c
src/st/st-texture-cache.h
src/st/st-theme-node.c
src/st/st-theme-node.h
src/st/st-widget.c

index bb11180901ebc78337872c87834e7a08ae377b16..f57b4cd1fb44aba24be464d8680749329b03f9fa 100644 (file)
@@ -73,7 +73,7 @@ GdmUserManager *    gdm_user_manager_ref_default           (void);
 
 GSList *            gdm_user_manager_list_users            (GdmUserManager *manager);
 GdmUser *           gdm_user_manager_get_user              (GdmUserManager *manager,
-                                                            const char     *user_name);
+                                                            const char     *username);
 GdmUser *           gdm_user_manager_get_user_by_uid       (GdmUserManager *manager,
                                                             gulong          uid);
 
index 0afe1b18d09cf27949c3c8c7f1572066b9f20e0a..10355a8c5c885890816901f3c8a733ea5a85acd3 100644 (file)
@@ -629,13 +629,14 @@ shell_app_system_create_from_window (ShellAppSystem *system, MetaWindow *window)
 
 /**
  * shell_app_system_lookup_heuristic_basename:
- * @name: Probable application identifier
+ * @system: a #ShellAppSystem
+ * @id: Probable application identifier
  *
  * Find a valid application corresponding to a given
  * heuristically determined application identifier
  * string, or %NULL if none.
  *
- * Returns: (transfer full): A #ShellApp for name
+ * Returns: (transfer full): A #ShellApp for @name
  */
 ShellApp *
 shell_app_system_lookup_heuristic_basename (ShellAppSystem *system,
@@ -902,7 +903,7 @@ shell_app_system_initial_search_internal (ShellAppSystem  *self,
 
 /**
  * shell_app_system_initial_search:
- * @self: A #ShellAppSystem
+ * @system: A #ShellAppSystem
  * @prefs: %TRUE if we should search preferences instead of apps
  * @terms: (element-type utf8): List of terms, logical AND
  *
@@ -922,7 +923,7 @@ shell_app_system_initial_search (ShellAppSystem  *self,
 
 /**
  * shell_app_system_subsearch:
- * @self: A #ShellAppSystem
+ * @system: A #ShellAppSystem
  * @prefs: %TRUE if we should search preferences instead of apps
  * @previous_results: (element-type utf8): List of previous results
  * @terms: (element-type utf8): List of terms, logical AND
index f136bdef8081dc58fb13a6d707977a54126f8860..1070077cfee4a6304c1a87287dc4ed1ad46ed182 100644 (file)
@@ -27,9 +27,9 @@ GType shell_app_usage_get_type (void) G_GNUC_CONST;
 
 ShellAppUsage* shell_app_usage_get_default(void);
 
-GSList *shell_app_usage_get_most_used (ShellAppUsage *monitor,
-                                       const char      *context,
-                                       gint             number);
+GSList *shell_app_usage_get_most_used (ShellAppUsage *usage,
+                                       const char    *context,
+                                       gint           max_count);
 
 G_END_DECLS
 
index ee2eb99c26ba7082720a42c607380b7fcb1aee05..dab64e9a0d37e6b63b71cc6921f329edc6df3478 100644 (file)
@@ -37,7 +37,7 @@ G_DEFINE_TYPE(ShellDocSystem, shell_doc_system, G_TYPE_OBJECT);
 
 /**
  * shell_doc_system_get_all:
- * @self: A #ShellDocSystem
+ * @system: A #ShellDocSystem
  *
  * Returns the currently cached set of recent files. Recent files are read initially
  * from the underlying #GtkRecentManager, and updated when it changes.
@@ -125,7 +125,7 @@ on_recent_file_query_result (GObject       *source,
 
 /**
  * shell_doc_system_queue_existence_check:
- * @self: A #ShellDocSystem
+ * @system: A #ShellDocSystem
  * @n_items: Count of items to check for existence, starting from most recent
  *
  * Asynchronously start a check of a number of recent file for existence;
index 0f2ad603734775a5082c278942429d08cb6056f0..95ffb6c2fa64691eda39b63712592b80f174963c 100644 (file)
@@ -38,7 +38,7 @@ GtkRecentInfo *shell_doc_system_lookup_by_uri (ShellDocSystem  *system,
                                                const char     *uri);
 
 void shell_doc_system_queue_existence_check (ShellDocSystem   *system,
-                                             guint             n_recent);
+                                             guint             n_items);
 
 void shell_doc_system_open (ShellDocSystem *system,
                             GtkRecentInfo  *info);
index a1773117c1ee65d066ce790b7919d4842b9ca788..5b439636c8f9edc93f1498c618c66c7bd8e0c382 100644 (file)
@@ -164,7 +164,7 @@ shell_generic_container_pick (ClutterActor        *actor,
 
 /**
  * shell_generic_container_get_n_skip_paint:
- * @container:  A #ShellGenericContainer
+ * @self:  A #ShellGenericContainer
  *
  * Returns: Number of children which will not be painted.
  */
@@ -176,7 +176,7 @@ shell_generic_container_get_n_skip_paint (ShellGenericContainer  *self)
 
 /**
  * shell_generic_container_get_skip_paint:
- * @container: A #ShellGenericContainer
+ * @self: A #ShellGenericContainer
  * @child: Child #ClutterActor
  *
  * Gets whether or not @actor is skipped when painting.
@@ -192,7 +192,7 @@ shell_generic_container_get_skip_paint (ShellGenericContainer  *self,
 
 /**
  * shell_generic_container_set_skip_paint:
- * @container: A #ShellGenericContainer
+ * @self: A #ShellGenericContainer
  * @child: Child #ClutterActor
  * @skip: %TRUE if we should skip painting
  *
index 16170eca899af4ca507d631426443fd854cbde8c..f49b78a85029f2e95d42671b7df9ba1954bebf04 100644 (file)
@@ -44,9 +44,9 @@ GType    shell_generic_container_get_type         (void) G_GNUC_CONST;
 guint    shell_generic_container_get_n_skip_paint (ShellGenericContainer *self);
 
 gboolean shell_generic_container_get_skip_paint   (ShellGenericContainer *self,
-                                                   ClutterActor          *actor);
+                                                   ClutterActor          *child);
 void     shell_generic_container_set_skip_paint   (ShellGenericContainer *self,
-                                                   ClutterActor          *actor,
+                                                   ClutterActor          *child,
                                                    gboolean               skip);
 
 #endif /* __SHELL_GENERIC_CONTAINER_H__ */
index 4e27d6ebe9fc1caf0dccd6b0dd5ac451ee61ac2a..1a67a95421b070a160a03ef60f9d34498c8433cb 100644 (file)
@@ -95,7 +95,7 @@ st_border_image_get_borders (StBorderImage *image,
 
 /**
  * st_border_image_equal:
- * @border_image: a #StBorder_Image
+ * @image: a #StBorder_Image
  * @other: a different #StBorder_Image
  *
  * Check if two border_image objects are identical.
index 9743955ea1269e3c2c2105ac0a859180aa3dc7f4..686b7473a5164ded5dd05fca061e2d9e3becbf31 100644 (file)
@@ -454,7 +454,7 @@ st_overflow_box_set_min_children (StOverflowBox *box,
 
 /**
  * st_overflow_box_get_n_children:
- * @self: a #StOverflowBox
+ * @box: a #StOverflowBox
  *
  * Returns the number of children in this box.
  */
@@ -467,7 +467,7 @@ st_overflow_box_get_n_children  (StOverflowBox *self)
 
 /**
  * st_overflow_box_get_n_visible:
- * @self: a #StOverflowBox
+ * @box: a #StOverflowBox
  *
  * Returns the number of children we will paint.  Only valid
  * after the actor has been allocated.
index 861641ded5334a124b83cf21ab1eda20e9b943d5..79cf0b6dd92d3219d8762de32fe00f38967029b6 100644 (file)
@@ -75,13 +75,13 @@ void st_texture_cache_evict_recent_thumbnail (StTextureCache *cache,
                                               GtkRecentInfo  *info);
 
 ClutterActor *st_texture_cache_load_uri_async (StTextureCache    *cache,
-                                               const gchar       *filename,
+                                               const gchar       *uri,
                                                int                available_width,
                                                int                available_height);
 
 ClutterActor *st_texture_cache_load_uri_sync (StTextureCache       *cache,
                                               StTextureCachePolicy  policy,
-                                              const gchar          *filename,
+                                              const gchar          *uri,
                                               int                   available_width,
                                               int                   available_height,
                                               GError              **error);
index 7882de3dd6c4f35e7e91bd5b0d12455dac49aae8..b7091203102061e736b78dc5ad278ca1de7b8679 100644 (file)
@@ -2669,8 +2669,8 @@ st_theme_node_adjust_for_height (StThemeNode  *node,
 /**
  * st_theme_node_adjust_preferred_width:
  * @node: a #StThemeNode
- * @min_width_p: (inout) (allow-none): the width to adjust
- * @for_height: (inout): the height to adjust
+ * @min_width_p: (inout) (allow-none): the minimum width to adjust
+ * @natural_width_p: (inout): the natural width to adjust
  *
  * Adjusts the minimum and natural width computed for an actor by
  * adding on the necessary space for borders and padding and taking
@@ -2716,7 +2716,7 @@ st_theme_node_adjust_preferred_width (StThemeNode  *node,
  * Adjusts a "for width" passed to clutter_actor_get_preferred_height() to
  * account for borders and padding. This is a convenience function meant
  * to be called from a get_preferred_height() method of a #ClutterActor
- * subclass. The value after adjustmnet is the width available for the actor's
+ * subclass. The value after adjustment is the width available for the actor's
  * content.
  */
 void
@@ -2736,8 +2736,8 @@ st_theme_node_adjust_for_width (StThemeNode  *node,
 /**
  * st_theme_node_adjust_preferred_height:
  * @node: a #StThemeNode
- * @min_height_p: (inout) (allow-none): the height to adjust
- * @for_height: (inout): the height to adjust
+ * @min_height_p: (inout) (allow-none): the minimum height to adjust
+ * @natural_height_p: (inout): the natural height to adjust
  *
  * Adjusts the minimum and natural height computed for an actor by
  * adding on the necessary space for borders and padding and taking
index 43f806ecbedbe41c22330b473af72fdb82c02cc3..0b0a4fd5b80bcc891226398756829193a4ebce39 100644 (file)
@@ -183,11 +183,11 @@ void st_theme_node_adjust_preferred_height (StThemeNode  *node,
 
 /* Helper for allocate() ClutterActor vfunc */
 void st_theme_node_get_content_box         (StThemeNode        *node,
-                                            const ClutterActorBox *actor_box,
+                                            const ClutterActorBox *allocation,
                                             ClutterActorBox       *content_box);
 /* Helper for StThemeNodeTransition */
 void st_theme_node_get_paint_box           (StThemeNode           *node,
-                                            const ClutterActorBox *actor_box,
+                                            const ClutterActorBox *allocation,
                                             ClutterActorBox       *paint_box);
 
 gboolean st_theme_node_geometry_equal (StThemeNode *node,
index f56331d211f3d9b150b7bb5ca9965e34066a55b2..e5f30509f7011e4ec27edf1b9420edf0545d25ac 100644 (file)
@@ -1144,7 +1144,7 @@ st_widget_remove_style_pseudo_class (StWidget    *actor,
 /**
  * st_widget_set_style:
  * @actor: a #StWidget
- * @style_class: (allow-none): a inline style string, or %NULL
+ * @style: (allow-none): a inline style string, or %NULL
  *
  * Set the inline style string for this widget. The inline style string is an
  * optional ';'-separated list of CSS properties that override the style as
@@ -1152,7 +1152,7 @@ st_widget_remove_style_pseudo_class (StWidget    *actor,
  */
 void
 st_widget_set_style (StWidget  *actor,
-                       const gchar *style)
+                     const gchar *style)
 {
   StWidgetPrivate *priv = actor->priv;